package com.yugao.fintech.antelope.infra.module.file.model.rqrs;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * 文件上传记录
 *

 */
@Getter
@Setter
@ApiModel(value = "文件上传记录")
public class FileRecordResp {
    private Long id;

    @ApiModelProperty(value = "业务类型")
    private String bizType;

    @ApiModelProperty(value = "存储器类型")
    private String storageType;

    @ApiModelProperty(value = "文件原始名称")
    private String originalName;

    @ApiModelProperty(value = "新文件名")
    private String newName;

    @ApiModelProperty(value = "文件类型")
    private String fileType;

    @ApiModelProperty(value = "文件大小, 单位是kb")
    private Long fileSize;

    @ApiModelProperty(value = "文件服务器存储绝对路径")
    private String filePath;

    @ApiModelProperty(value = "存储的桶名")
    private String bucketName;

    @ApiModelProperty(value = "文件url")
    private String fileUrl;

    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    @ApiModelProperty(value = "创建者的用户id")
    private Long createdUid;

    @ApiModelProperty(value = "最后修改时间")
    private Date updatedAt;

    @ApiModelProperty(value = "创建者用户名")
    private String createdBy;

    @ApiModelProperty(value = "更新者用户名")
    private String updatedBy;

    @ApiModelProperty(value = "逻辑删除(默认0正常，1文件已被物理删除)")
    private String delFlag;
}
